package com.dragon.modules.yuegou.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel(description = "商品券查询列表请求")
public class ReceivedProCouponPageRequest implements Serializable{
	private static final long serialVersionUID = -6301644645529844254L;

	/** 商品券id */
	@NotNull
	@ApiModelProperty(value = "商品券id",required = true)
	protected String id;

	/** 商户名称 */
	@ApiModelProperty("商户名称")
	protected String merchantName;

	/** 券类型： 0-商品券*/
	@ApiModelProperty("券类型： 0-商品券")
	protected Integer type;

	/** 状态：0-未开始、1-已开始、2-已结束*/
	@ApiModelProperty("状态：0-未开始、1-已开始、2-已结束")
	protected Integer condition;

	/** 领取时间开始*/
	@ApiModelProperty("领取时间开始")
	protected LocalDateTime pickupTimeStarts;

	/** 领取时间结束*/
	@ApiModelProperty("领取时间结束")
	protected LocalDateTime pickupTimeEnd;

	/** 使用时间开始*/
	@ApiModelProperty("使用时间开始")
	protected LocalDateTime usedTimeStarts;

	/** 使用时间结束*/
	@ApiModelProperty("使用时间结束")
	protected LocalDateTime usedTimeEnd;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getCondition() {
		return condition;
	}

	public void setCondition(Integer condition) {
		this.condition = condition;
	}

	public LocalDateTime getPickupTimeStarts() {
		return pickupTimeStarts;
	}

	public void setPickupTimeStarts(LocalDateTime pickupTimeStarts) {
		this.pickupTimeStarts = pickupTimeStarts;
	}

	public LocalDateTime getPickupTimeEnd() {
		return pickupTimeEnd;
	}

	public void setPickupTimeEnd(LocalDateTime pickupTimeEnd) {
		this.pickupTimeEnd = pickupTimeEnd;
	}

	public LocalDateTime getUsedTimeStarts() {
		return usedTimeStarts;
	}

	public void setUsedTimeStarts(LocalDateTime usedTimeStarts) {
		this.usedTimeStarts = usedTimeStarts;
	}

	public LocalDateTime getUsedTimeEnd() {
		return usedTimeEnd;
	}

	public void setUsedTimeEnd(LocalDateTime usedTimeEnd) {
		this.usedTimeEnd = usedTimeEnd;
	}
}
